#daydayup3.py
dayup=1.0
dayfactor = 0.01
dayfactors = 0.001
for i in range(365):
    if i % 4 in [1,2,3]:
        dayup = dayup*(1 + dayfactor)
    else:
        dayup = dayup*(1 - dayfactors)
print("工作三天休息一天，坚持365天后的能力值:{:.3f}".format(dayup))
